Sharing Mutable Objects and Controlling Groups of Tasks in a Concurrent and Distributed Language

نویسنده

  • Christian Queinnec
چکیده

This paper presents: (i) an operational semantics, based on a functional framework, for a concurrent and distributed extension of the Scheme programming language, (ii) a coherency protocol taking care of shared mutable objects, (iii) a new coherency protocol to imperatively control hierarchical groups of cooperating tasks. These two protocols do not require broadcast, nor FIFO communications, nor a centralized machine; they allow to manage an unbound number of shared mutable values and groups of tasks. This paper also advocates for the use of a functional continuation-based presentation for these protocols. The omnipresence of interconnected networks exacerbates the need for high level languages allowing to express and control widely distributed computations. Much network services such as news, finger, archie, netfind etc. ODL93] basically manage a set of informations which is accessed and enriched on a world-distributed basis. We think that it will become more and more necessary for these services as well as future ones to ooer causal coherency. In the case of the news system for instance, to receive answers before questions would not be possible. We have been designing an extension of the Scheme programming language, a Lisp dialect called Icslas, allowing to write such applications. We do not expect whole applications to be written in our language but rather wish to ooer the ideal glue to tie together sequential sub-applications. It will act as a kind of \shell" ooering high level constructs and built-in causal coherency. Therefore the Icslas language has not been designed for speed-up but for expressiveness. Being a member of the Lisp family of dialects, the Icslas language is highly dynamic and supported by a garbage collector (GC). This distributed GC is described in LQP92]. Causal coherency is usually studied independently of any language and often limits the number of shared mutable values or requires broadcast (or mul-ticast) to be achieved. Since Icslas allows to create at run-time as many shared mutable values as wanted (within memory constraints) and since communication delays through networks as well as computer failures make broadcast diicult, our coherency protocols circumvent these two problems. It is often the case that one wants to control the progress of distributed computations and possibly suspends or resumes them. The Icslas language does not

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Effects of Concurrent Group Dynamic Assessment on Iranian EFL Learners’ Pragmatic Competence: A Case of Requests and Refusals

Pragmatic competence is one of the most important components of successful communication; also, it is the most difficult aspect of SLA. This study aimed to explore the effects of concurrent group dynamic assessment (G-DA) on Iranian EFL learners’ learning of requests and refusals, following a mixed method design. In the experimental part of the study, 2 intact classes were homogenized by a pret...

متن کامل

The Effect of Task Sequencing on the Writing Fluency of English as Foreign Language Learners

This study investigated the effect of sequencing tasks from simple to complex along +/- reasoning demands on fluency in writing task performance of English as Foreign Language (EFL) learners. The participants of this study included 90 intermediate EFL learners from three intact class divisions at the Islamic Azad Uni- versity, Shahr-e-Qods Branch. They were distributed in three groups: Experime...

متن کامل

On the Structure of Sharing in Open Concurrent Java Programs

This paper studies the structure of shared objects in open concurrent Java programs. It proposes classification of shared objects into three categories: central, owned and distributed. This classification facilitates program understanding and error detection in concurrent programs. The paper presents a new static analysis that infers central, owned and distributed objects in open concurrent Jav...

متن کامل

Massed/Distributed Sentence Writing: Post Tasks of Noticing Activity

The purpose of the study was to activate the passive lexical knowledge through noticing and to investigate the effect of sentence writing as the post task of noticing activity on strengthening the effect of noticing. Forty-two Iranian female adult upper-intermediate English students of a state university in 2 homogenous groups participated in noticing the lexical items whose production were not...

متن کامل

The Impact of Structured Input-based Tasks on L2 Learners’ Grammar Learning

Abstract Task-based language teaching has received increased attention in second language research. However, the combination of structured input-based approach and task-based language teaching has not been examined in relation to L2 grammar learning. To address this gap, the present study investigated how the structured input-based tasks with and without explicit information impacted learners’ ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994